﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class Rooms
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public int RoomId { get; set; }

            public string RoomName { get; set; }

            public string RoomLocation { get; set; }

            public string RoomDescription { get; set; }

            public int? RoomTypeId { get; set; }

            public int? HotelId { get; set; }

            public string HouseStatus { get; set; }

            public System.DateTime? RepairStartDate { get; set; }

            public System.DateTime? RepairEndDate { get; set; }

            public bool IsHidden { get; set; }

            public bool IsDeleted { get; set; }

            public System.DateTime? CreatedDate { get; set; }

            public string CreatedUserId { get; set; }

            public System.DateTime? ModifiedDate { get; set; }

            public string ModifiedUserId { get; set; }

            public int? Priority { get; set; }

            public int? OrderNumber { get; set; }

            public int? FloorId { get; set; }

            public Hotels Hotels { get; set; }

            public RoomTypes RoomTypes { get; set; }

            public Floors Floors { get; set; }

            public EntitySet<ReservationRooms> ReservationRoomsList { get; set; }

            public EntitySet<RoomCharges> RoomChargesList { get; set; }

            public EntitySet<RoomMove> NewRoomMoveList { get; set; }

            public EntitySet<RoomMove> OldRoomMoveList { get; set; }

            public EntitySet<RoomRepair> RoomRepairList { get; set; }

            public EntitySet<RoomStatus> RoomStatusList { get; set; }

            public EntitySet<RoomActiveHistory> RoomActiveHistoryList { get; set; }

        }

        #endregion
    }
}